package com.example.Laboratory.Mapper;

import com.example.Laboratory.Entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserMapper {
    @Select("SELECT * FROM user WHERE user_name=#{user_name} and user_password=#{user_password}")
    String login (User u);

}
